﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Newtonsoft.Json.Linq;
using System.Data;
using System.Web;
using System.Web.Hosting;
using System.IO;
using Oracle.ManagedDataAccess.Client;

namespace XBJCYGC.Controllers
{
    public class TMPController : ApiController
    {
        [HttpPost]
        [CYGCExceptionFilter("获取菜单及组织单位时错误")]
        public object org(JObject opt)
        {
            var t1 = System.Environment.TickCount;
             
            var t2 = System.Environment.TickCount;
            DB.CYGC.Query(@"select * from tjxx_01");
            var t3 = System.Environment.TickCount;
            return "first:"+(t2-t1)  +"  second"+(t3-t2);
        }
      

    }
}
